<?php @session_start();?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="app.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <img class="img-responsive center-block" src="UoL_logo.png" alt="Logo" width="200">
        <p class="text-right">
        <a>Home |</a>
        <a>Help |</a>
        <a href="./Login.php">Log Out</a>
        </p>
    </div>
    <div class="container header-nav">
        <?php
            if($_SESSION['idposition']==1||$_SESSION['idposition']==2){
                echo"<ul class='nav nav-tabs nav-justified' role='tablist'>
                        <li role='presentation'><a href='./Home.php'>Your Task</a></li>
                        <li role='presentation'><a href='./Template.php'>Template Management</a></li>
                        <li role='presentation'><a href='./Staff.php'>Staff Management</a></li>
                        <li role='presentation'><a href='./Task.php'>Task Management</a></li>
                        <li role='presentation'><a href='./Module.php'>Module Management</a></li>
                        <li role='presentation'><a href='./PInformation.php'>Personal Information</a></li>
                    </ul>";
            }else{
                echo"<ul class='nav nav-tabs nav-justified' role='tablist'>
                        <li role='presentation'><a href='./Home.php'>Your Task</a></li>
                        <li role='presentation'><a href='./AllTask.php'>All Tasks</a></li>
                        <li role='presentation'><a href='./Staff.php'>All Staff</a></li>                       
                        <li role='presentation'><a href='./PInformation.php'>Personal Information</a></li>
                    </ul>";
            }            
        ?>    
    </div>
    <script src="jquery-3.0.0.min.js"></script>
    <script src="bootstrap.min.js"></script>
</body>
</html>